--------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  ...\1805 Roadmaps\Table A8.log
  log type:  text
 opened on:   8 May 2018, 17:00:36

. 
. set seed Xdb5b16bd1bf5b511c933dde5ad30af0900042cdf

. 
. 
. probit vote_leemar ///
>      vgd vgd_D1 ///
>      pty pty_D1 ///
>      psi psi_D1 ///
>      psp psp_D1 ///
>      d1

Iteration 0:   log likelihood = -233.52966  
Iteration 1:   log likelihood = -201.74682  
Iteration 2:   log likelihood = -201.00019  
Iteration 3:   log likelihood = -200.99463  
Iteration 4:   log likelihood = -200.99463  

Probit regression                                 Number of obs   =        344
                                                  LR chi2(9)      =      65.07
                                                  Prob > chi2     =     0.0000
Log likelihood = -200.99463                       Pseudo R2       =     0.1393

------------------------------------------------------------------------------
 vote_leemar |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         vgd |   .0733888   .2697552     0.27   0.786    -.4553216    .6020993
      vgd_D1 |   .4337418   .3226281     1.34   0.179    -.1985976    1.066081
         pty |  -.6111604   .3683854    -1.66   0.097    -1.333183    .1108618
      pty_D1 |   .8991254   .4090037     2.20   0.028     .0974928    1.700758
         psi |  -.0090918   .2735117    -0.03   0.973     -.545165    .5269813
      psi_D1 |   .4718442    .334144     1.41   0.158     -.183066    1.126754
         psp |  -.3745918   .2885261    -1.30   0.194    -.9400925     .190909
      psp_D1 |   .2144024   .3242533     0.66   0.508    -.4211225    .8499273
          d1 |   .3651083   .2294296     1.59   0.112    -.0845654    .8147821
       _cons |  -.4616569    .192599    -2.40   0.017    -.8391439   -.0841698
------------------------------------------------------------------------------

. 
. tabstat d1 if e(sample), s(n mean sd min p25 p50 p75 max)

    variable |         N      mean        sd       min       p25       p50       p75       max
-------------+--------------------------------------------------------------------------------
          d1 |       344   .482125  .7398629    -1.848     .0415      .486     1.026     1.978
----------------------------------------------------------------------------------------------

. 
. 
. estsimp probit vote_leemar ///
>      vgd vgd_D1 ///
>      pty pty_D1 ///
>      psi psi_D1 ///
>      psp psp_D1 ///
>      d1

Iteration 0:   log likelihood = -233.52966
Iteration 1:   log likelihood = -202.40029
Iteration 2:   log likelihood = -201.04967
Iteration 3:   log likelihood = -200.99477
Iteration 4:   log likelihood = -200.99463

Probit regression                                 Number of obs   =        344
                                                  LR chi2(9)      =      65.07
                                                  Prob > chi2     =     0.0000
Log likelihood = -200.99463                       Pseudo R2       =     0.1393

------------------------------------------------------------------------------
 vote_leemar |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         vgd |   .0733888   .2697552     0.27   0.786    -.4553216    .6020993
      vgd_D1 |   .4337418   .3226281     1.34   0.179    -.1985976    1.066081
         pty |  -.6111605   .3683838    -1.66   0.097    -1.333179    .1108585
      pty_D1 |   .8991255   .4090021     2.20   0.028     .0974962    1.700755
         psi |  -.0090918   .2735117    -0.03   0.973     -.545165    .5269813
      psi_D1 |   .4718442    .334144     1.41   0.158     -.183066    1.126754
         psp |  -.3745918   .2885261    -1.30   0.194    -.9400925     .190909
      psp_D1 |   .2144024   .3242533     0.66   0.508    -.4211225    .8499273
          d1 |   .3651083   .2294296     1.59   0.112    -.0845654    .8147821
       _cons |  -.4616569    .192599    -2.40   0.017    -.8391439   -.0841698
------------------------------------------------------------------------------

Simulating main parameters.  Please wait....

Note: Clarify is expanding your dataset from 383 observations to 1000
observations in order to accommodate the simulations.  This will append
missing values to the bottom of your original dataset.

% of simulations completed: 10% 20% 30% 40% 50% 60% 70% 80% 90% 100% 

Number of simulations  : 1000
Names of new variables : b1 b2 b3 b4 b5 b6 b7 b8 b9 b10

. 
. 
. setx median

. simqi, pr listx

You have set the following values for the explanatory variables:

------------------------------------
 Variable |    Value     Description
----------+-------------------------
       d1 |      .486       median  
      psi |         0       median  
   psi_D1 |         0       median  
      psp |         0       median  
   psp_D1 |         0       median  
      pty |         0       median  
   pty_D1 |         0       median  
      vgd |         0       median  
   vgd_D1 |         0       median  
------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .6107106     .0622844     .4883476    .7291602
            Pr(vote_l~r=1) |   .3892894     .0622844     .2708397    .5116524

. 
. simqi, fd(prval(1) genpr(fd_con)) changex(d1 .017 1.021)

First Difference: d1 .017 1.021

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |   .1384499     .0862947    -.0213146    .3042597

Simqi generated the following new variable(s): fd_con

. 
. 
. setx d1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

------------------------------------
 Variable |    Value     Description
----------+-------------------------
       d1 |         0         0     
      psi |         0       median  
   psi_D1 |         0       median  
      psp |         0       median  
   psp_D1 |         0       median  
      pty |         0       median  
   pty_D1 |         0       median  
      vgd |         0       median  
   vgd_D1 |         0       median  
------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |    .675282     .0683248     .5441716    .8006727
            Pr(vote_l~r=1) |    .324718     .0683248     .1993273    .4558284

. 
. simqi, fd(prval(1) genpr(tr_vgd_con)) changex(vgd 0 1)

First Difference: vgd 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |   .0223463     .0938363    -.1675445    .1913619

Simqi generated the following new variable(s): tr_vgd_con

. simqi, fd(prval(1) genpr(tr_pty_con)) changex(pty 0 1)

First Difference: pty 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |  -.1708025     .0992793    -.3506982    .0415963

Simqi generated the following new variable(s): tr_pty_con

. simqi, fd(prval(1) genpr(tr_psi_con)) changex(psi 0 1)

First Difference: psi 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |  -.0020113     .0966034    -.1853678    .1948245

Simqi generated the following new variable(s): tr_psi_con

. simqi, fd(prval(1) genpr(tr_psp_con)) changex(psp 0 1)

First Difference: psp 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |  -.1200815     .0936857    -.2996197    .0711618

Simqi generated the following new variable(s): tr_psp_con

. 
. 
. setx median

. setx vgd 1

. setx vgd_D1 .448

. simqi, pr listx

You have set the following values for the explanatory variables:

------------------------------------
 Variable |    Value     Description
----------+-------------------------
       d1 |      .486       median  
      psi |         0       median  
   psi_D1 |         0       median  
      psp |         0       median  
   psp_D1 |         0       median  
      pty |         0       median  
   pty_D1 |         0       median  
      vgd |         1         1     
   vgd_D1 |      .448        .448   
------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .5083091     .0605554     .3988949    .6306478
            Pr(vote_l~r=1) |   .4916909     .0605554     .3693522    .6011051

. 
. simqi, fd(prval(1) genpr(fd_vgd)) changex(d1 .017 1.021 vgd_D1 .017 1.021)

First Difference: d1 .017 1.021 vgd_D1 .017 1.021

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |   .3117891     .0798386     .1488262    .4570462

Simqi generated the following new variable(s): fd_vgd

. 
. 
. setx d1 0

. setx vgd_D1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

------------------------------------
 Variable |    Value     Description
----------+-------------------------
       d1 |         0         0     
      psi |         0       median  
   psi_D1 |         0       median  
      psp |         0       median  
   psp_D1 |         0       median  
      pty |         0       median  
   pty_D1 |         0       median  
      vgd |         1         1     
   vgd_D1 |         0         0     
------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .6529357     .0655494     .5190901    .7767697
            Pr(vote_l~r=1) |   .3470643     .0655494     .2232303    .4809099

. 
. simqi, fd(prval(1) genpr(tr_pty_vgd)) changex(vgd 1 0 pty 0 1)

First Difference: vgd 1 0 pty 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |  -.1931488     .0956355    -.3592888    .0122339

Simqi generated the following new variable(s): tr_pty_vgd

. simqi, fd(prval(1) genpr(tr_psi_vgd)) changex(vgd 1 0 psi 0 1)

First Difference: vgd 1 0 psi 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |  -.0243576     .0949056    -.2077066    .1548549

Simqi generated the following new variable(s): tr_psi_vgd

. simqi, fd(prval(1) genpr(tr_psp_vgd)) changex(vgd 1 0 psp 0 1)

First Difference: vgd 1 0 psp 0 1

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |  -.1424278     .0903365    -.3158098    .0408029

Simqi generated the following new variable(s): tr_psp_vgd

. 
. 
. setx median

. setx pty 1

. setx pty_D1 .448

. simqi, pr listx

You have set the following values for the explanatory variables:

------------------------------------
 Variable |    Value     Description
----------+-------------------------
       d1 |      .486       median  
      psi |         0       median  
   psi_D1 |         0       median  
      psp |         0       median  
   psp_D1 |         0       median  
      pty |         1         1     
   pty_D1 |      .448        .448   
      vgd |         0       median  
   vgd_D1 |         0       median  
------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .6831501     .0738205     .5341266    .8187652
            Pr(vote_l~r=1) |   .3168499     .0738205     .1812348    .4658733

. 
. simqi, fd(prval(1) genpr(fd_pty)) changex(d1 .017 1.021 pty_D1 .017 1.021)

First Difference: d1 .017 1.021 pty_D1 .017 1.021

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |   .4281632     .0973998       .22595    .5980254

Simqi generated the following new variable(s): fd_pty

. 
. 
. setx d1 0

. setx pty_D1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

------------------------------------
 Variable |    Value     Description
----------+-------------------------
       d1 |         0         0     
      psi |         0       median  
   psi_D1 |         0       median  
      psp |         0       median  
   psp_D1 |         0       median  
      pty |         1         1     
   pty_D1 |         0         0     
      vgd |         0       median  
   vgd_D1 |         0       median  
------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .8460845     .0713047     .6776786    .9531689
            Pr(vote_l~r=1) |   .1539155     .0713047     .0468311    .3223214

. 
. 
. setx median

. setx psi 1

. setx psi_D1 .448

. simqi, pr listx

You have set the following values for the explanatory variables:

------------------------------------
 Variable |    Value     Description
----------+-------------------------
       d1 |      .486       median  
      psi |         1         1     
   psi_D1 |      .448        .448   
      psp |         0       median  
   psp_D1 |         0       median  
      pty |         0       median  
   pty_D1 |         0       median  
      vgd |         0       median  
   vgd_D1 |         0       median  
------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .5296511     .0592819      .411374    .6385782
            Pr(vote_l~r=1) |   .4703489     .0592819     .3614218     .588626

. 
. simqi, fd(prval(1) genpr(fd_psi)) changex(d1 .017 1.021 psi_D1 .017 1.021)

First Difference: d1 .017 1.021 psi_D1 .017 1.021

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |    .323629     .0854571     .1430781    .4849885

Simqi generated the following new variable(s): fd_psi

. 
. 
. setx d1 0

. setx psi_D1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

------------------------------------
 Variable |    Value     Description
----------+-------------------------
       d1 |         0         0     
      psi |         1         1     
   psi_D1 |         0         0     
      psp |         0       median  
   psp_D1 |         0       median  
      pty |         0       median  
   pty_D1 |         0       median  
      vgd |         0       median  
   vgd_D1 |         0       median  
------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .6772933     .0678183     .5407563     .792423
            Pr(vote_l~r=1) |   .3227067     .0678183      .207577    .4592437

. 
. 
. setx median

. setx psp 1

. setx psp_D1 .448

. simqi, pr listx

You have set the following values for the explanatory variables:

------------------------------------
 Variable |    Value     Description
----------+-------------------------
       d1 |      .486       median  
      psi |         0       median  
   psi_D1 |         0       median  
      psp |         1         1     
   psp_D1 |      .448        .448   
      pty |         0       median  
   pty_D1 |         0       median  
      vgd |         0       median  
   vgd_D1 |         0       median  
------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .7118993     .0575845     .5905167     .821078
            Pr(vote_l~r=1) |   .2881007     .0575845      .178922    .4094833

. 
. simqi, fd(prval(1) genpr(fd_psp)) changex(d1 .017 1.021 psp_D1 .017 1.021)

First Difference: d1 .017 1.021 psp_D1 .017 1.021

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
         dPr(vote_l~r = 1) |   .1981297     .0739976     .0570764    .3501918

Simqi generated the following new variable(s): fd_psp

. 
. 
. setx d1 0

. setx psp_D1 0

. simqi, pr listx

You have set the following values for the explanatory variables:

------------------------------------
 Variable |    Value     Description
----------+-------------------------
       d1 |         0         0     
      psi |         0       median  
   psi_D1 |         0       median  
      psp |         1         1     
   psp_D1 |         0         0     
      pty |         0       median  
   pty_D1 |         0       median  
      vgd |         0       median  
   vgd_D1 |         0       median  
------------------------------------


Quantities of interest based on those explanatory values:

      Quantity of Interest |     Mean       Std. Err.    [95% Conf. Interval]
---------------------------+--------------------------------------------------
            Pr(vote_l~r=0) |   .7953635     .0609543     .6593939    .8991329
            Pr(vote_l~r=1) |   .2046365     .0609543     .1008671    .3406061

. 
. 
. * Difference in baseline probabilities
. 
. tabstat tr_vgd_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
  tr_vgd_con |  .0223463  .0938363 -.3185106 -.1324591 -.0998061  .0234904  .1411745  .1695978  .3064866
--------------------------------------------------------------------------------------------------------

. tabstat tr_pty_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
  tr_pty_con | -.1708025  .0992793 -.4473406 -.3267372 -.2998991 -.1766608 -.0437391  -.007115  .1531285
--------------------------------------------------------------------------------------------------------

. tabstat tr_psi_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
  tr_psi_con | -.0020113  .0966034 -.2853562 -.1585596 -.1255731 -.0047228  .1235255  .1600114  .3153533
--------------------------------------------------------------------------------------------------------

. tabstat tr_psp_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
  tr_psp_con | -.1200815  .0936857 -.4044628 -.2749389 -.2380217 -.1218509  .0061017  .0383176  .2047743
--------------------------------------------------------------------------------------------------------

. 
. 
. tabstat tr_pty_vgd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
  tr_pty_vgd | -.1931488  .0956355 -.4613137 -.3414229 -.3112428  -.200844 -.0623337 -.0289567    .14887
--------------------------------------------------------------------------------------------------------

. tabstat tr_psi_vgd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
  tr_psi_vgd | -.0243576  .0949056 -.3254024 -.1829725 -.1406932 -.0220204  .0994447   .131801  .2689262
--------------------------------------------------------------------------------------------------------

. tabstat tr_psp_vgd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
  tr_psp_vgd | -.1424278  .0903365 -.4452596 -.2914634  -.256426 -.1451341 -.0265327  .0154238    .14523
--------------------------------------------------------------------------------------------------------

. 
. 
. * Calculate difference in first differences
. 
. gen dif_vgd_con = fd_vgd - fd_con

. gen dif_pty_con = fd_pty - fd_con

. gen dif_psi_con = fd_psi - fd_con

. gen dif_psp_con = fd_psp - fd_con

. 
. tabstat dif_vgd_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
 dif_vgd_con |  .1733392  .1171039 -.1731773  -.021455  .0246812  .1694036  .3227377   .368278  .5117431
--------------------------------------------------------------------------------------------------------

. tabstat dif_pty_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
 dif_pty_con |  .2897133  .1357769 -.1660015  .0585247  .1112981  .2990529  .4656325   .504719  .6362365
--------------------------------------------------------------------------------------------------------

. tabstat dif_psi_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
 dif_psi_con |  .1851791  .1224501 -.2178768 -.0229552   .031805  .1852471  .3466335  .3926199  .5241355
--------------------------------------------------------------------------------------------------------

. tabstat dif_psp_con, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
 dif_psp_con |  .0596798  .1154196 -.3080841 -.1295568 -.0859786  .0600594  .2102588  .2449295  .4804586
--------------------------------------------------------------------------------------------------------

. 
. 
. gen dif_pty_vgd = fd_pty - fd_vgd

. gen dif_psi_vgd = fd_psi - fd_vgd

. gen dif_psp_vgd = fd_psp - fd_vgd

. 
. tabstat dif_pty_vgd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
 dif_pty_vgd |  .1163741  .1235198 -.3073545 -.0914187 -.0477274  .1218601  .2683963  .3210091  .4710661
--------------------------------------------------------------------------------------------------------

. tabstat dif_psi_vgd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
 dif_psi_vgd |  .0118399  .1165485   -.35856 -.1877192 -.1370787  .0149795   .156796  .1999199  .3639747
--------------------------------------------------------------------------------------------------------

. tabstat dif_psp_vgd, s(mean sd min p5 p10 p50 p90 p95 max)

    variable |      mean        sd       min        p5       p10       p50       p90       p95       max
-------------+------------------------------------------------------------------------------------------
 dif_psp_vgd | -.1136594  .1100068 -.4003446 -.2960154 -.2588809 -.1140862  .0305272  .0745575   .249794
--------------------------------------------------------------------------------------------------------

. 
. 
. drop b1-b10

. drop fd_con-dif_psp_vgd

. 
. log close
      name:  <unnamed>
       log:  ...\1805 Roadmaps\Table A8.log
  log type:  text
 closed on:   8 May 2018, 17:00:37
--------------------------------------------------------------------------------------------------------------------------
